package com.happy.zebra.admin.api.feign;

import com.happy.zebra.admin.api.entity.SysActLogZebra;
import com.happy.zebra.admin.api.vo.AssistPermissionVO;
import com.shycloud.mido.common.core.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "zebra-admin-biz")
public interface AdminFeignService {

	@GetMapping("/permission/checkAssistPermission")
	R<AssistPermissionVO> checkAssistPermission(@RequestParam("teacherId") String teacherId);

	@PostMapping("/log/saveZebraLog")
	R<Boolean> saveZebraLog(@RequestBody SysActLogZebra actLogZebra);

}
